package com.ktjy.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author 黄军艳
 * @version 1.0
 * @date 2025/1/2  9:38
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysUser {
    @TableId
    private Long usrId;
    private String usrName;
    private String usrPassword;
    private Long usrRoleId;
    private Integer usrFlag;
    @Version
    private Integer version;

    @TableLogic(value = "0",delval = "1")
    private Boolean deleted;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
